Parry–Sullivan invariant